package com.hwadee.ems.service;

import com.hwadee.ems.domain.dto.PageQuery;
import com.hwadee.ems.domain.dto.Result;
import com.hwadee.ems.domain.po.TrainingProgram;
import com.hwadee.ems.domain.vo.TrainingProgramVO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 培养方案 服务类
 * </p>
 *
 * @author EnosElinsa
 * @since 2024/06/21
 */
public interface ITrainingProgramService extends IService<TrainingProgram> {

    Result<IPage<TrainingProgramVO>> page(PageQuery pageQuery);

    Result<IPage<TrainingProgramVO>> pageByMajorId(Long majorId, PageQuery pageQuery);

    Result<TrainingProgramVO> getByStudentId(Long studentId);

}
